<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>名优特产 - 黑龙江旅游</title>
    <link rel="stylesheet" href="D:\web1\travel\css\base.css" type="text/css" media="all">
    <link rel="stylesheet" href="D:\web1\travel\css\products.css" type="text/css" media="all">
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
</head>
<body>
    <div class="main">
        <!-- 顶部搜索栏和导航 -->
        <div class="top-bar">
            <div class="search-box">
                <form action="search.html" method="get">
                    <input type="text" name="keyword" placeholder="搜索特产、美食...">
                    <button type="submit"><i class="fa fa-search"></i></button>
                </form>
            </div>
            
            <ul class="top-nav">
                <li><a href="login.html"><i class="fa fa-user-circle"></i> 登录</a></li>
                <li><a href="register.html"><i class="fa fa-user-plus"></i> 注册</a></li>
                <li><a href="about.html"><i class="fa fa-info-circle"></i> 关于我们</a></li>
            </ul>
        </div>

        <!-- 主导航菜单 -->
        <div class="main-menu">
            <ul>
                <li><a href="index.html">首页</a></li>
                <li><a href="history.html">历史沿革</a></li>
                <li><a href="geography.html">地理位置</a></li>
                <li><a href="culture.html">风俗文化</a></li>
                <li><a href="attractions.html">景点选择</a></li>
                <li><a href="products.html">名优特产</a></li>
                <li><a href="message.html">在线留言</a></li>
            </ul>
            <button class="menu-toggle"><i class="fa fa-bars"></i></button>
        </div>

        <!-- 内容区域 -->
        <div class="content">
            <div class="bar">
                <h3>黑龙江名优特产</h3>
            </div>
            
            <div class="products-container">
                <!-- 特产筛选 -->
                <div class="filter-section">
                    <h4>特产分类</h4>
                    <div class="filter-options">
                        <button class="filter-btn active" data-category="all">全部特产</button>
                        <button class="filter-btn" data-category="food">特色食品</button>
                        <button class="filter-btn" data-category="handcraft">手工艺品</button>
                        <button class="filter-btn" data-category="medicine">山珍药材</button>
                    </div>
                </div>
                
                <!-- 特产列表 -->
                <div class="products-grid">
                    <!-- 特色食品 -->
                    <div class="product-card" data-category="food">
                        <figure>
                            <img src="D:\img\img24.jpg" alt="五常大米">
                            <figcaption>五常大米</figcaption>
                        </figure>
                        <div class="product-info">
                            <h5>五常大米</h5>
                            <p>黑龙江五常市特产，颗粒饱满，米香浓郁，口感软糯，是中国国家地理标志产品。</p>
                            <div class="product-meta">
                                <span class="price">¥68.00/袋</span>
                                
                            </div>
                        </div>
                    </div>
                    
                    <div class="product-card" data-category="food">
                        <figure>
                            <img src="D:\img\img25.jpg" alt="哈尔滨红肠">
                            <figcaption>哈尔滨红肠</figcaption>
                        </figure>
                        <div class="product-info">
                            <h5>哈尔滨红肠</h5>
                            <p>哈尔滨传统风味肉制品，以猪肉为主要原料，加入大蒜等调料，风味独特，香气浓郁。</p>
                            <div class="product-meta">
                                <span class="price">¥45.00/斤</span>
                               
                            </div>
                        </div>
                    </div>
                    <div class="product-card" data-category="food">
                        <figure>
                            <img src="D:\img\img26.jpg" alt="冻梨">
                            <figcaption>冻梨</figcaption>
                        </figure>
                        <div class="product-info">
                            <h5>冻梨</h5>
                            <p>东北果农创业智慧的结晶，一口咬下，冰凉满口，润肺止咳，清肺养颜，果肉入喉，口感绵密。</p>
                            <div class="product-meta">
                                <span class="price">¥3.00/斤</span>
                             
                            </div>
                        </div>
                    </div>
                    <div class="product-card" data-category="food">
                        <figure>
                            <img src="D:\img\img27.jpg"alt="马迭尔冰棍">
                            <figcaption>马迭尔冰棍</figcaption>
                        </figure>
                        <div class="product-info">
                            <h5>马迭尔冰棍</h5>
                            <p> 马迭尔冰棍是哈尔滨历史悠久的冰棍品牌，也是黑龙江省哈尔滨市中央大街的特色冷饮小吃。</p>
                            <div class="product-meta">
                                <span class="price">¥5.00/根</span>
                                
                            </div>
                        </div>
                    </div>
                    <!-- 手工艺品 -->
                    <div class="product-card" data-category="handcraft">
                        <figure>
                            <img src="D:\img\img28.jpg" alt="冰雕工艺品">
                            <figcaption>冰雕工艺品</figcaption>
                        </figure>
                        <div class="product-info">
                            <h5>冰雕工艺品</h5>
                            <p>以哈尔滨冰雪艺术为灵感制作的小型冰雕工艺品，晶莹剔透，极具地方特色。</p>
                            <div class="product-meta">
                                <span class="price">¥128.00/件</span>
                            
                            </div>
                        </div>
                    </div>
                    
                    <div class="product-card" data-category="handcraft">
                        <figure>
                            <img src="D:\img\img29.jpg" alt="木雕">
                            <figcaption>东北木雕</figcaption>
                        </figure>
                        <div class="product-info">
                            <h5>东北木雕</h5>
                            <p>以长白山木材为原料，雕刻成各种人物、动物等造型，工艺精湛，具有收藏价值。</p>
                            <div class="product-meta">
                                <span class="price">¥268.00/件</span>
                               
                            </div>
                        </div>
                    </div>
                    
                    <!-- 山珍药材 -->
                    <div class="product-card" data-category="medicine">
                        <figure>
                            <img src="D:\img\img30.jpg" alt="桦树茸">
                            <figcaption>桦树茸</figcaption>
                        </figure>
                        <div class="product-info">
                            <h5>桦树茸</h5>
                            <p>是一种生长在白桦树上的药用真菌，具有抗氧化、调节免疫、辅助降血糖等潜在作用，家喻户晓的养生好物。</p>
                            <div class="product-meta">
                                <span class="price">¥90.00/斤</span>
                               
                            </div>
                        </div>
                    </div>
                    
                    <div class="product-card" data-category="medicine">
                        <figure>
                            <img src="D:\img\img31.jpg" alt="野生榛蘑">
                            <figcaption>野生zhenmo</figcaption>
                        </figure>
                        <div class="product-info">
                            <h5>野生榛蘑</h5>
                            <p>黑龙江林区特产的野生食用菌，营养丰富，味道鲜美，是天然的绿色食品。</p>
                            <div class="product-meta">
                                <span class="price">¥88.00/斤</span>
                                
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 特产推荐表单 -->
                <div class="product-recommend">
                    <h4>推荐本地特产</h4>
                    <form id="recommend-form">
                        <div class="form-group">
                            <label for="product-name">特产名称</label>
                            <input type="text" id="product-name" class="form-control" required>
                        </div>
                        
                        <div class="form-group">
                            <label for="product-category">所属类别</label>
                            <select id="product-category" class="form-control" required>
                                <option value="">请选择类别</option>
                                <option value="food">特色食品</option>
                                <option value="handcraft">手工艺品</option>
                                <option value="medicine">山珍药材</option>
                                <option value="other">其他</option>
                            </select>
                        </div>
                        
                        <div class="form-group">
                            <label for="product-intro">特产介绍</label>
                            <textarea id="product-intro" class="form-control" rows="4" required></textarea>
                        </div>
                        
                        <div class="form-group">
                            <label for="contact-email">联系邮箱</label>
                            <input type="email" id="contact-email" class="form-control" required>
                        </div>
                        
                        <button type="submit" class="btn">提交推荐</button>
                    </form>
                </div>
            </div>
        </div>

        <!-- 页脚 -->
        <div class="end">
            <p>© 黑龙江旅游网 版权所有 | 联系电话：0451-12345678 | 地址：哈尔滨市南岗区中山路</p>
        </div>
    </div>

    <script>
        // 特产筛选功能
        document.addEventListener('DOMContentLoaded', function() {
            const filterBtns = document.querySelectorAll('.filter-btn');
            const productCards = document.querySelectorAll('.product-card');
            
            // 移动端菜单切换
            const menuToggle = document.querySelector('.menu-toggle');
            const mainMenuUl = document.querySelector('.main-menu ul');
            
            menuToggle.addEventListener('click', function() {
                mainMenuUl.classList.toggle('show');
            });
            
            // 筛选功能
            filterBtns.forEach(btn => {
                btn.addEventListener('click', function() {
                    // 移除所有按钮的active类
                    filterBtns.forEach(b => b.classList.remove('active'));
                    // 给当前点击的按钮添加active类
                    this.classList.add('active');
                    
                    const category = this.getAttribute('data-category');
                    
                    // 筛选产品
                    productCards.forEach(card => {
                        if (category === 'all' || card.getAttribute('data-category') === category) {
                            card.style.display = 'block';
                            // 添加淡入动画
                            card.classList.add('fade-in');
                            setTimeout(() => card.classList.remove('fade-in'), 500);
                        } else {
                            card.style.display = 'none';
                        }
                    });
                });
            });
            
            // 表单提交处理
            const recommendForm = document.getElementById('recommend-form');
            recommendForm.addEventListener('submit', function(e) {
                e.preventDefault();
                alert('感谢您的推荐！我们会尽快审核并添加。');
                this.reset();
            });
        });
    </script>
</body>
</html>